Dompdf\Cpdf D

Total Complexity 929
Dependencies 9
Dependents 1
Total lines 6,509
Lines of code 3,858
Logical lines of code 2,494
Comment lines 1,630
Methods 134
Properties 60

Methods 134

Method Rating Maintainability Complexity Lines of code
openFont()
D
19
70 183
addPngFromBuf()
D
21
50 188
processFont()
D
20
47 205
o_pages()
D
28
38 124
o_viewerPreferences()
D
34 33 83
o_font()
C
31 28 114
o_image()
C
31 22 114
o_fontDescriptor()
B
41 24 50
o_field()
B
36 21 79
o_xobject()
B
35 20 81
o_sig()
B
34 18 83
o_page()
B
36 18 80
addImagePngAlpha()
B
32 15 111
getTextWidth()
B
40 18 59
selectFont()
B
40 18 57
o_catalog()
B
41 18 57
addText()
B
35 16 83
o_fontDescendentCID()
B
39 17 62
o_info()
B
43 17 47
o_contents()
A
43 14 48
ellipse()
A
39 12 69
utf8toCodePointsArray()
A
43 13 48
output()
A
40 12 59
addObject()
A
47 13 36
o_fontGIDtoCIDMap()
A
45 12 39
transaction()
A
47 12 38
o_acroform()
A
43 11 48
o_action()
A
44 10 47
o_destination()
A
48 11 32
o_annotation()
A
42 9 54
o_encryption()
A
38 8 65
addPngFromFile()
A
44 9 41
o_names()
A
46 9 38
o_procset()
A
47 9 35
newPage()
A
48 9 33
addImagePng()
A
49 9 29
o_fontEncoding()
A
47 8 34
addJpegFromFile()
A
49 8 31
o_outlines()
S
50 7 29
setEncryption()
S
50 7 29
o_embedded_file()
S
45 6 40
o_extGState()
S
42 5 55
o_toUnicode()
S
46 5 46
o_indirect_references()
S
51 6 26
stream()
S
50 6 25
filterText()
S
54 6 21
setColor()
S
58 6 15
setStrokeColor()
S
58 6 15
setLineStyle()
S
51 5 27
o_cidSystemInfo()
S
51 5 27
ARC4_init()
S
54 5 21
utf8toUtf16BE()
S
56 5 17
setFillTransparency()
S
50 4 31
setLineTransparency()
S
50 4 31
o_embedded_file_dictionary()
S
49 4 31
setFontFamily()
S
51 4 31
getFontHeight()
S
58 5 15
o_javascript()
S
53 4 22
o_embedjs()
S
54 4 21
addJpegImage_common()
S
49 3 32
registerText()
S
62 4 11
getFontSubsettingTag()
S
59 3 12
getFontXHeight()
S
61 3 12
__construct()
S
61 3 11
polygon()
S
62 3 11
addFormField()
S
51 2 25
ARC4()
S
57 2 17
saveState()
S
58 2 16
setFormFieldAppearance()
S
63 3 10
encryptInit()
S
58 2 15
setPreferences()
S
65 3 9
addInfo()
S
65 3 9
restoreState()
S
60 2 13
reopenObject()
S
63 2 11
newDocument()
S
57 1 19
addDestination()
S
59 1 16
openHere()
S
59 1 16
setGraphicsState()
S
64 2 9
concatMatches()
S
69 2 7
setFillRule()
S
70 2 6
serializeObject()
S
71 2 6
closeObject()
S
69 2 7
stopObject()
S
73 2 5
rotate()
S
59 1 15
getBytes()
S
66 2 8
md5_16()
S
65 2 8
getFontDescender()
S
68 2 7
line()
S
70 2 6
fillStroke()
S
78 2 3
addForm()
S
67 2 7
fill()
S
78 2 3
setXObjectResource()
S
72 2 5
skew()
S
60 1 14
clippingRectangleRounded()
S
58 1 14
addSignature()
S
60 1 13
scale()
S
62 1 12
addEmbeddedFile()
S
63 1 12
openObject()
S
62 1 12
translate()
S
65 1 11
stroke()
S
82 1 3
addXObject()
S
66 1 8
image_iscached()
S
80 1 3
addInternalLink()
S
65 1 9
checkAllHere()
S
100 1 2
addSvgFromFile()
S
62 1 10
addLink()
S
65 1 9
rect()
S
78 1 3
rectangle()
S
78 1 3
filledRectangle()
S
78 1 3
addJavascript()
S
82 1 3
curveTo()
S
77 1 3
quadTo()
S
78 1 3
addMessage()
S
80 1 3
restoreSerializedObject()
S
71 1 6
setFormFieldValue()
S
78 1 3
setCurrentFont()
S
76 1 4
closePath()
S
82 1 3
clippingEnd()
S
83 1 3
transform()
S
80 1 3
moveTo()
S
79 1 3
lineTo()
S
79 1 3
filledEllipse()
S
77 1 3
partEllipse()
S
77 1 3
curve()
S
72 1 5
clippingRectangle()
S
75 1 4
setFormFieldRefValue()
S
78 1 3
getTextPosition()
S
64 1 8
toUpper()
S
80 1 3
restore()
S
74 1 5
save()
S
74 1 5
addContent()
S
79 1 3
getFirstPageId()
S
83 1 3
setFormFieldOpt()
S
78 1 3
endPath()
S
82 1 3